<?php
/* @var $this SocialHistoryController */
/* @var $model SocialHistory */

$this->breadcrumbs=array(
	'Social Histories'=>array('index'),
	$model->id,
);

$this->menu=array(
	array('label'=>'List SocialHistory', 'url'=>array('index')),
	array('label'=>'Create SocialHistory', 'url'=>array('create')),
	array('label'=>'Update SocialHistory', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete SocialHistory', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage SocialHistory', 'url'=>array('admin')),
);
?>

<h1>View SocialHistory #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'drive',
		'tobacco',
		'illegal_drug',
		'tobacco_type',
		'tobacco_ammount',
		'tobacco_long',
		'drug_type',
		'drug_ammount',
		'drug_long',
		'gonorrhea',
		'hepatitis',
		'syphills',
		'hiv',
		array('label'=>'Patient Name','value'=>$model->personalinfo->FullName),	
	),
)); ?>
